﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Regions="clr-namespace:Microsoft.Practices.Prism.Regions;assembly=Microsoft.Practices.Prism" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="VS.App.Shell" 
    d:DesignWidth="800" d:DesignHeight="350.337"
    >
    <Grid>
        <Border>
            <Border.Background>
                <RadialGradientBrush Center="0.506,0.766" GradientOrigin="0.506,0.766" RadiusY="0.917" RadiusX="0.703">
                    <GradientStop Color="#FFDADADA" Offset="1"/>
                    <GradientStop Color="White"/>
                    <GradientStop Color="#FFFCFCFC" Offset="0.43"/>
                </RadialGradientBrush>
            </Border.Background>
        </Border>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="25*" />
                <ColumnDefinition Width="50*" MaxWidth="800" />
                <ColumnDefinition Width="25*" />
            </Grid.ColumnDefinitions>
            <ContentControl Regions:RegionManager.RegionName="toolbar" 
                            Grid.Column="2" HorizontalAlignment="Left" MinWidth="32" Margin="0,64,0,32"
                            Padding="-4,0">

            </ContentControl>
            <Border Grid.Column="1" Grid.ColumnSpan="1" BorderBrush="DarkGray" BorderThickness="1" CornerRadius="4" Margin="0,24">
                <Border.Effect>
                    <DropShadowEffect Opacity="0.12" BlurRadius="10"/>
                </Border.Effect>
                <Border.Background>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFDADADA" Offset="1"/>
                        <GradientStop Color="White"/>
                        <GradientStop Color="#FFFDFDFD" Offset="0.952"/>
                    </LinearGradientBrush>
                </Border.Background>
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition Height="16" />
                    </Grid.RowDefinitions>
                    <ContentControl Regions:RegionManager.RegionName="main" MinHeight="50" MinWidth="50" HorizontalContentAlignment="Stretch"  VerticalContentAlignment="Stretch" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.Row="0"/>
                    <RichTextBox BorderThickness="0" VerticalScrollBarVisibility="Hidden" Background="Transparent" Padding="0" IsReadOnly="True" Grid.Row="1" HorizontalAlignment="Center" FontSize="10">
                        <Paragraph>
                            <Run Foreground="#FF999999" Text="© Copyright Visual Singularity | "/>
                            <Hyperlink NavigateUri="mailto:contact@visualsingularity.net" TargetName="_blank">contact@visualsingularity.net</Hyperlink>
                        </Paragraph>
                    </RichTextBox>
                </Grid>
            </Border>
        </Grid>
    </Grid>
</UserControl>
